package com.woniuxy.personal.core.service;

import com.woniuxy.personal.client.dto.CarMycar;
import com.woniuxy.personal.core.model.PlUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.personal.core.vo.UserVo;
import io.swagger.models.auth.In;
import org.springframework.web.bind.annotation.PathVariable;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gmx
 * @since 2021-06-29
 */
public interface PlUserService extends IService<PlUser> {

    Integer selectScore(String username);

    PlUser selectUser(String username);

    BigDecimal appraisal(Integer userId,Integer carId);

    List<CarMycar> selectMycar(Integer userId);

    int insertUser(UserVo userVo);
}
